home *** CD-ROM | disk | FTP | other *** search
/ ftp.cs.arizona.edu / ftp.cs.arizona.edu.tar / ftp.cs.arizona.edu / icon / newsgrp / group96a.txt / 000177_icon-group-sender _Thu Aug 8 15:16:35 1996.msg < prev    next >
Internet Message Format  |  1996-09-05  |  2KB

  1. Received: by cheltenham.cs.arizona.edu; Thu, 8 Aug 1996 16:27:25 MST
  2. Date: Thu, 8 Aug 1996 15:16:35 -0500 (CDT)
  3. From: "Chris D. Tenaglia" <cdt@post.its.mcw.edu>
  4. To: icon-group@cs.arizona.edu
  5. Subject: CGI Tips
  6. Message-Id: <Pine.ULT.3.90.960808145431.22371A-100000@post.its.mcw.edu>
  7. Mime-Version: 1.0
  8. Content-Type: TEXT/PLAIN; charset=US-ASCII
  9. Errors-To: icon-group-errors@cs.arizona.edu
  10. Status: O
  11.  
  12. I'm trying a CGI-SCRIPT in icon. I read some information
  13. but I can't quite get mine to work. I think I'm close, but
  14. missing some small detail. Here's the scenario...
  15.  
  16. I have an account cdt. Under the home directory is a www
  17. directory where I keep my HTMLs, and that works just fine.
  18. Also under the home directory I have a cgi-bin directory.
  19. I keep the cgi scripts in there. I have one, it's an icon
  20. program, httphone. It takes a parameter like:
  21.  
  22. httphone name=fred
  23.  
  24. and returns HTML results to stdout. It also logs it's activity
  25. to a log file. It works interactively. I borrowed and modified
  26. some other form to send the query. Netscape shows it :
  27.  
  28. http://www.mcw.edu/~cdt/cgi-bin/httphone?name=fred
  29.  
  30. and returns one of those 404 messages about URL not found.
  31. The log file indicates no activity. Am I real close and just
  32. need a tip? or do I need to dig into a good book or web site
  33. for the technical details. Thanx in advance!
  34.  
  35. Chris Tenaglia   (system manager)     |  cdt@post.its.mcw.edu
  36. Medical College of Wisconsin          |
  37. 8701 W. Watertown Plank Rd.           |  Ce que vous voyez est
  38. Milwaukee, WI 53226   (414)456-8765   |  ce que vous obtenez !
  39.  
  40.